package cn.mw.cmdb.entity;

import lombok.Data;
import org.javers.core.metamodel.annotation.Id;

import java.util.ArrayList;
import java.util.List;

@Data
public class AssetsInterfaceHis {
    @Id
    private String instanceId;
    private List<AssetsInterfaceDTO> interfaceDTOList = new ArrayList<>();

    public void addAssetsInterfaceDTO(AssetsInterfaceDTO assetsInterfaceDTO){
        interfaceDTOList.add(assetsInterfaceDTO);
    }
}
